/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.groupb.circus.Databases;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author bhavna
 */
public class News {
    
    private String id;
    private String title;
    private String day;
    private String month;
    private String year;
    private List<String> author;
    private String id_photo;
    private List<String> paragraph;
    
    public News(){
        id="";
        title="";
        day="";
        month="";
        year="";
        author = new ArrayList<String>();
        id_photo="";
        paragraph = new ArrayList<String>();
        
    }
    
    public void setId(String id){
        this.id=id;
    }
    
    public String getId(){
        return id;
    }
    
    
     public void setTitle(String title){
        this.title=title;
    }
    
    public String getTitle(){
        return title;
    }
    
    
    
    public void setDay(String day){
        this.day=day;
    }
    
    public String getDay(){
        return day;
    }
    
    
     public void setMonth(String month){
        this.month=month;
    }
    
    public String getMonth(){
        return month;
    }
    
     public void setYear(String year){
        this.year=year;
    }
    
    public String getYear(){
        return year;
    }
    
     public void setId_photo(String id_photo){
        this.id_photo=id_photo;
    }
    
    public String getId_photo(){
        return id_photo;
    }
    
     public void setAuthor(String author){
         this.author.add(author);
    }
    
    public List<String> getAuthor(){
        return author;
    }
    
     public void setParagraph(String paragraph){
        this.paragraph.add(paragraph);
    }
    
    public List<String> getParagraph(){
        return paragraph;
    }
    
    
}
